3 lines
No EOL
90 B
JavaScript
3 lines
No EOL
90 B
JavaScript
module.exports.toAbsoluteInt = function(float = 0.0) {
|
|
return Math.round(float * 32.0);
|
|
} |