add sell and buy orders list
This commit is contained in:
5
app/javascript/src/utils/fiatMoney.ts
Normal file
5
app/javascript/src/utils/fiatMoney.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export const centsToUnit = (value?: number | null) => {
|
||||
if (!value) return "0.00";
|
||||
|
||||
return (value / 100).toFixed(2);
|
||||
};
|
||||
Reference in New Issue
Block a user