This commit is contained in:
David Arranz 2026-04-13 11:14:34 +02:00
parent 0caf747d4e
commit 88a7a36c4b
4 changed files with 6 additions and 2 deletions

View File

@ -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";

View File

@ -0,0 +1,3 @@
export const toSafeNumber = (value: number | null | undefined): number => {
return value ?? 0;
};