MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / eurof

Function eurof

libraries/Currency/currency.cpp:109–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107char * bitcoinf(double value) { return currency64(round(value * 1000000), 6, '.', ',', 'B'); }
108char * dollarf(double value) { return currency64(round(value * 100), 2, '.', ',', '$'); }
109char * eurof(double value) { return currency64(round(value * 100), 2, ',', '.', 'E'); }
110char * poundf(double value) { return currency64(round(value * 100), 2, ',', '.', 'L'); }
111char * roublesf(double value) { return currency64(round(value * 100), 2, ',', '.', 'P'); }
112char * yenf(double value) { return currency64(round(value * 100), 2, '.', ',', 'Y'); }

Callers 1

unittestFunction · 0.85

Calls 1

currency64Function · 0.85

Tested by 1

unittestFunction · 0.68