Skip to content

Commit

Permalink
Show time with one decimal point of precision
Browse files Browse the repository at this point in the history
  • Loading branch information
Prehistoricman authored and ehmorris committed Dec 30, 2024
1 parent 7fcda46 commit 3e9f599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lander/lander.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export const makeLander = (state, onGameEnd) => {
getAngleDeltaUpright(_angle).toFixed(1)
),
durationInSeconds: Intl.NumberFormat().format(
Math.round(_timeSinceStart / 1000)
(_timeSinceStart / 1000).toFixed(1)
),
rotationsInt: _rotationCount,
rotationsFormatted: Intl.NumberFormat().format(_rotationCount),
Expand Down

0 comments on commit 3e9f599

Please sign in to comment.