Documentation
¶
Overview ¶
Float package contains helpful functions for working with floating point numbers.
A Note on Floating Point Numbers ¶
Floating point numbers are a poor choice for financial calculations due to rounding errors. However, the calculations in this module are intended for rough estimates rather than precise accounting.
Index ¶
Constants ¶
View Source
const ( Epsilon = 1e-9 Penny = 0.01 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.