Closed AlbertoJALJ closed 10 months ago
@AlbertoJALJ in a global way? Nop.
It's easy tho, just create your own re-useable solution
import currencyJs from "currency.js"; const currency = ( value: string | number | currencyJs, opts?: currencyJs.Options | undefined ) => currencyJs(value, { ...opts, precision: opts?.precision || 0.2, });
@AlbertoJALJ in a global way? Nop.
It's easy tho, just create your own re-useable solution