Number Manipulation in Go

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

How to Tell if a Float is Actually an Int

return math.Round(f) == f