repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Apply security dependencies update.
[e-mobility-charging-stations-simulator.git]
/
src
/
utils
/
Utils.ts
diff --git
a/src/utils/Utils.ts
b/src/utils/Utils.ts
index 6b3349d0af83d5fb7c9c7b4c8f140762ff6adc5f..f453c8220fcb7a24c182ba602efe95dbdaff6ea3 100644
(file)
--- a/
src/utils/Utils.ts
+++ b/
src/utils/Utils.ts
@@
-53,12
+53,12
@@
export default class Utils {
}
static convertToInt(value: any): number {
}
static convertToInt(value: any): number {
- let changedValue = value;
+ let changedValue
: number
= value;
if (!value) {
return 0;
}
if (Number.isSafeInteger(value)) {
if (!value) {
return 0;
}
if (Number.isSafeInteger(value)) {
- return
v
alue;
+ return
changedV
alue;
}
// Check
if (Utils.isString(value)) {
}
// Check
if (Utils.isString(value)) {
@@
-69,7
+69,7
@@
export default class Utils {
}
static convertToFloat(value: any): number {
}
static convertToFloat(value: any): number {
- let changedValue = value;
+ let changedValue
: number
= value;
if (!value) {
return 0;
}
if (!value) {
return 0;
}