diff --git a/app/utils/number.ts b/app/utils/number.ts index ae71567..388e4cb 100644 --- a/app/utils/number.ts +++ b/app/utils/number.ts @@ -1 +1 @@ -export const replaceComma = (value: string) => value.replace(',', '.'); \ No newline at end of file +export const replaceComma = (value: string | number) => `${value}`.replace(',', '.'); \ No newline at end of file