Currency: Difference between revisions

2 bytes removed ,  3 years ago
m
(Added Ada)
m (→‎{{header|Ada}}: Fixed typo)
Line 43:
 
When using the Dollar_IO package to print each value, the constant is converted into a Dollar, then printed. All of
thesethe arbitrary-precision arithmetic operations are done at compile-time, incurring no runtime cost.
<lang ada>with Ada.Text_IO;
 
6

edits