.
This commit is contained in:
parent
0caf747d4e
commit
88a7a36c4b
@ -2,5 +2,6 @@ export * from "./date-helper";
|
||||
export * from "./dto-compare-helper";
|
||||
export * from "./money-dto-helper";
|
||||
export * from "./money-helper";
|
||||
export * from "./percentage-dto-helpers";
|
||||
export * from "./quantity-dto-helpers";
|
||||
export * from "./number-helper";
|
||||
export * from "./percentage-dto-helper";
|
||||
export * from "./quantity-dto-helper";
|
||||
|
||||
3
modules/core/src/common/helpers/number-helper.ts
Normal file
3
modules/core/src/common/helpers/number-helper.ts
Normal file
@ -0,0 +1,3 @@
|
||||
export const toSafeNumber = (value: number | null | undefined): number => {
|
||||
return value ?? 0;
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user