If I am owed 2.575% on $3425956.57 for 245 months, why not get the correct sum instead of some rounded monthly sum added up? Its just strange.
Fixed – Fixed-place decimal math library for Go
11–20 of 73 posts
Re: Fixed – Fixed-place decimal math library for Go
#12Earlier quoted context omitted.
Despite what everyone says, I've spoken to several different people at several different highly-regarded banks who say that they do, in fact, use floating point for money amounts in some of their systems. What experience do people who work in banks have?
I work in Finance, I don't use float, and I suggest you never do either.
Re: Fixed – Fixed-place decimal math library for Go
#13Earlier quoted context omitted.
I work in Finance, I don't use float, and I suggest you never do either.
As a concrete example, someone was running a massive online FFI for predicting the value of derivatives, and they were doing it in the real domain and using doubles on GPUs for monetary values. Where they doing it 'wrong' then? I don't know much about finance myself.
Re: Fixed – Fixed-place decimal math library for Go
#14It's always struck me as strange than finance folk don't want correct math. They want math that matches the coins in their pocket. If I am owed 2.575% on $3425956.57 for 245 months, why not get the correct sum instead of some rounded monthly sum added up? Its just strange.
Re: Fixed – Fixed-place decimal math library for Go
#15Earlier quoted context omitted.
I work in Finance, I don't use float, and I suggest you never do either.
As a concrete example, someone was running a massive online FFI for predicting the value of derivatives, and they were doing it in the real domain and using doubles on GPUs for monetary values. Where they doing it 'wrong' then? I don't know much about finance myself.
Re: Fixed – Fixed-place decimal math library for Go
#16It's always struck me as strange than finance folk don't want correct math. They want math that matches the coins in their pocket. If I am owed 2.575% on $3425956.57 for 245 months, why not get the correct sum instead of some rounded monthly sum added up? Its just strange.
How would you pay such a non-integer sum?
Re: Fixed – Fixed-place decimal math library for Go
#17Earlier quoted context omitted.
As a concrete example, someone was running a massive online FFI for predicting the value of derivatives, and they were doing it in the real domain and using doubles on GPUs for monetary values. Where they doing it 'wrong' then? I don't know much about finance myself.
Predicting a value is not the same as accounting.
Re: Fixed – Fixed-place decimal math library for Go
#18Re: Fixed – Fixed-place decimal math library for Go
#19It's always struck me as strange than finance folk don't want correct math. They want math that matches the coins in their pocket. If I am owed 2.575% on $3425956.57 for 245 months, why not get the correct sum instead of some rounded monthly sum added up? Its just strange.