IF, just IF, someone were to implement such a thing what major math operators need to exist ?
+, -, *, / obviously
what else would YOU need for applications to make such a type useful ?
IF, just IF, someone were to implement such a thing what major math operators need to exist ?
+, -, *, / obviously
what else would YOU need for applications to make such a type useful ?
Mod, Floor, Celing. Not sure if those count.
Guess I had in mind financial type apps for BCD
Cant say I ever used those but … I’ll see what I can do
Some rules for electronic invoicing in Mexico include calculations with pow and sqrt. Same rules use rounding and tuncating.
I’ll see what I can do about those
For financial calculations, Banker’s round.
Should be quite doable ![]()
I’ve got most of the things people have mentioned already
I probably should know this, but how is this different from System.Decimal in .NET?
If he is doing it from scratch because the tool dont have a decent BCD data type, must be for xojo ![]()
I’m not writing this for .Net ![]()
Winna Winna Chicken Dinna !!
Turns out I’ll end up needing this since Currency is inadequate
And scaling an Int64 leaves me without enough precision
So I needed “something else”