Created
July 22, 2018 18:55
-
-
Save rolandpeelen/db592c18cc78b21d9cb371d4455e3b56 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const asHours = (duration) => { | |
| const stepOne = msToHours(duration); | |
| const stepTwo = valueIf(overOne, stepOne); | |
| const stepThree = falseOr(Math.round(stepTwo)); | |
| const stepFour = falseOr(PostFixHours(stepThree)); | |
| return stepFour; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment