package
Version:
v0.0.0-...-80fb781
Opens a new window with list of versions in this module.
Published: Mar 28, 2024
License: MIT, MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
IsNumeric quickly checks if string is a number. 12x faster then strconv.ParseFloat(s, 64)
RoundTo rounds `n` float to `decimals` number after comma
RoundTo(1.123, 1) = 1.1
RoundTo(1.655, 2) = 1.66
Source Files
¶
Click to show internal directories.
Click to hide internal directories.