mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
v3: fix cron middleware, remove unused code from shared
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
Silver amount from their money
|
||||
*/
|
||||
|
||||
// TODO move to client
|
||||
|
||||
module.exports = function(num) {
|
||||
if (num) {
|
||||
return ("0" + Math.floor((num - Math.floor(num)) * 100)).slice(-2);
|
||||
|
||||
Reference in New Issue
Block a user