We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 575d4e8 commit 3828f35Copy full SHA for 3828f35
doc/modules/ROOT/pages/financial_examples.adoc
@@ -8,7 +8,22 @@ https://www.boost.org/LICENSE_1_0.txt
8
= Financial Examples
9
:idprefix: financial_examples_
10
11
-== Financial Applications
+[#examples_money_parsing]
12
+.This example demonstrates the numerical differences between parsing of monetary values between using `decimal32_t` and `float`
13
+====
14
+[source, c++]
15
+----
16
+include::example$numerical_parsing.cpp[]
17
18
+
19
+.Expected Outcome
20
+....
21
+Number of data points: 252
22
+ Sum from MS Excel: 52151.99
23
+Sum using decimal32_t: 52151.99
24
+ Sum using float: 52151.96
25
26
27
28
=== Simple Moving Average
29
0 commit comments