Module: app

Functions

getCurrency

getCurrency(app): any

Function getCurrency

Get the currency of the application

export const getCurrency = (app: any): any => app.currency;

Parameters

Name Type Description
app any send the application

Returns

any

currency the currency of the application


getFormatPrice

getFormatPrice(price, currency): string

Parameters

Name Type
price Number
currency String

Returns

string