public static long ToOACurrency(decimal value) { Currency currency = new Currency(value); return(currency.ToOACurrency()); }