Skip to content
Snippets Groups Projects
Commit e903f5c2 authored by Tom French's avatar Tom French Committed by James Long
Browse files

fix: remove unnecessary conversion to 32 bit

parent 04aa1731
No related branches found
No related tags found
No related merge requests found
function amountToInteger(n) {
return Math.round(n * 100) | 0;
return Math.round(n * 100);
}
function integerToAmount(n) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment