Skip to content

A library intended to aid developers with common number-related functions.

License

Notifications You must be signed in to change notification settings

ScriptersCF/number-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Number Library

A library intended to aid developers with common number-related functions.

Example

print(Number.Round(math.pi, 3)) ---> 3.142
print(("%X"):format(Number.Truncate(0xABCD, -1, 16, true))) --> 0xABC0 (base 16, truncate)
print(Number.Format(1957, 1)) --> 1.9K (no rounding)
print(Number.Format(-1957, 2, true)) --> -1.96K (rounding)
print(Number.Commaify(19576)) --> 19,576

About

A library intended to aid developers with common number-related functions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages