aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2014-11-14 23:09:18 +0100
committerRenaud G <renaud@rolisteam.org>2014-11-14 23:09:18 +0100
commit4c82c8a05f870ab201bd1a91e0e1230de46e2565 (patch)
treed96e407d7f16c1f38a4a58d45e2ca1c36b646129 /main.cpp
parent8e9cad0753457ce3d245a626fb4ad693e5701703 (diff)
downloadOneRoll-4c82c8a05f870ab201bd1a91e0e1230de46e2565.tar.gz
OneRoll-4c82c8a05f870ab201bd1a91e0e1230de46e2565.zip
-divide result dice by integer return double.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index b5c270b..46648a3 100644
--- a/main.cpp
+++ b/main.cpp
@@ -35,7 +35,8 @@ int main(int argc, char *argv[])
QStringList commands;
- commands << "2*(4+4)"
+ commands<< "100D10/100"
+ << "2*(4+4)"
<< "1+(4*3)D10"
<< "2+4/4"
<< "2D10*2D20*8"
@@ -45,7 +46,7 @@ int main(int argc, char *argv[])
<< "3D100"
<< "4k3"
<< "10D10e[>=6]sc[>=6]"
- << "100190D6666666s"
+ //<< "100190D6666666s"
<< "10D10e10s"
<< "10D10s"
<< "15D10e10c[8-10]"