Round Double: Building Sum of rounded doubles causes inconsistencies

Hi @mwiegand ,

I fear this is they way floating point numbers work. Since they are base two, they cannot represent many decimal values exactly. There is a forum thread requesting support for a decimal data type Add a "fixed decimal" currency friendly data type , you can leave a vote there.

Best regards,
nan

3 Likes