Number Manipulation in Go

From NovaOrdis Knowledge Base
Revision as of 01:26, 14 September 2024 by Ovidiu (talk | contribs) (→‎How to Tell if a Float is Actually an Int)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

How to Tell if a Float is Actually an Int

return math.Round(f) == f