mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 22:37:28 -08:00
Merge remote-tracking branch 'origin/develop'
This commit is contained in:
commit
4ec4e0f44e
|
@ -596,6 +596,9 @@
|
|||
}
|
||||
|
||||
function cleanFloat(number) {
|
||||
if(!number) { // in a JavaScript context, meaning, if it's null or zero or unset
|
||||
return 0.0;
|
||||
}
|
||||
if ("{{$snipeSettings->digit_separator}}" == "1.234,56") {
|
||||
// yank periods, change commas to periods
|
||||
periodless = number.toString().replace("\.","");
|
||||
|
|
Loading…
Reference in a new issue