Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellDouble.cpp
diff options
context:
space:
mode:
Commit202a4e89a9d235d6760b4c9cf30aa5a717f0424c (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-06-14 14:54:39 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-06-14 14:54:39 +0300
Files9493ceee468eba943541748ff6f99a6389bb4051 /src/Models/CellDouble.cpp
FMI-OOP-P2_Tables-202a4e89a9d235d6760b4c9cf30aa5a717f0424c.tar
FMI-OOP-P2_Tables-202a4e89a9d235d6760b4c9cf30aa5a717f0424c.tar.gz
FMI-OOP-P2_Tables-202a4e89a9d235d6760b4c9cf30aa5a717f0424c.zip
Parent9bbfd92a6494cf8a80571e3659a3df420fc35b01 (diff)
Autocommit at 14.06.2022 @ 14:54
1 files changed, 3 insertions, 0 deletions
-rw-r--r--src/Models/CellDouble.cpp3
diff --git a/src/Models/CellDouble.cpp b/src/Models/CellDouble.cpp
index 538bf11..660fc88 100644
--- a/src/Models/CellDouble.cpp
+++ b/src/Models/CellDouble.cpp
@@ -5,6 +5,9 @@ CellDouble::CellDouble(double value) {
this->value = value;
}
+/*!
+ * Accepts a C-style string in the form "<+/-><digits>.<digits>"
+ */
CellDouble::CellDouble(const char* str) {
value = 0;
bool negative = *str == '-';