4 ms·
Also, at least in Go, it is fairly trivial to do: type Billions fixed.Fixed and then add operators to allow Fixed to be added, String() would add a B at the e
by robaho 8y ago
Also, at least in Go, it is fairly trivial to do:
type Billions fixed.Fixed
and then add operators to allow Fixed to be added, String() would add a B at the end etc. So 0.1 is 100 million, etc.
Like I said, if you are summing into the billions, you are probably not concerned about .00001 pennies