Commit d82383f9 authored by Leon's avatar Leon

upload

parent 85ee0209
var _ = require("lodash");
function _f(n) {
return _.floor(_.toNumber(n), 3).toFixed(3).replace(/0$/, '');
}
print(_f(3.4056))
print(_f(3.4000))
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment