I always read that I should use decimal
or similar for money and financial calculations (example). However as much I can see, all of the Business One SDK uses double
s? Is this okay? Am I expected to convert the double values to decimals every time I am doing calculations, than back to double If I want to set it for an API object (what I do currently)?
Note: The SQL database uses numeric(19,6)
for these values.