prikhi/decimal

Add String Formatting

Open

#1 opened on Oct 8, 2017

 (1 comment) (0 reactions) (0 assignees)Elm (6 forks)github user discovery
hacktoberfest

Repository metrics

Stars
 (10 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Will need this soon, there are some existing libraries to do this for strings/numbers(search package site for number format), maybe just point users that way?

But at the very least I'll need something to strip trailing zeros(and the decimal point if necessary) & to truncate/round/expand to n-decimal places(just 2 at first).

Contributor guide