class Operation {

    protected static long toXdrAmount(String value) {
        value = checkNotNull(value, "value cannot be null");
        BigDecimal amount = new BigDecimal(value).multiply(Operation.ONE);
        return amount.longValueExact();
    }

      Operation();

}