Skip to content

Just a value rounder for python & nothing else. Made for fun.

License

Notifications You must be signed in to change notification settings

guekho64/ValueRounder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

ValueRounder

Just a value rounder for python made for myself. Made for fun.

Only supports positive numbers, for now.

Rounds decimal digits >= 5 to the next possible value. Digits < 5 are ignored.

E.g

0.9 -> 1 | 0.5 -> 1 | 0.4 -> 0 | 0.1 -> 0 | 0.444445 -> 1

THIS DOES NOT WORK LIKE math.ceil (0.1 -> 1) OR built-in round (0.444445 -> 0)

About

Just a value rounder for python & nothing else. Made for fun.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages