Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by that_guy_iain

1 year ago

> If the price is "0.00023" per unit and someone uses "213.34" units I feed those strings into a multiplication function that returns the correct string 100% of the time.

But you're not coming up with a valid monetary amount.

1 comment

that_guy_iain

Reply

theendisney  1 year ago

Say I do it wrong, wouldnt the other account have the same problem if it also counts money?

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities