jamesplease/moment-business

Introduce floating point precision.

Open

#55 opened on Oct 27, 2017

View on GitHub
 (2 comments) (1 reaction) (0 assignees)JavaScript (27 forks)github user discovery
help wanted

Repository metrics

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

Description

Often times when calculating week days I'd like more precision to be returned. Currently calculations less then one day get rounded down to zero. I would like to see a flag introduced to signal when to not round down. So we end up with possible values of 0.5 days or 7.3 days.

Contributor guide