summaryrefslogtreecommitdiffstats
path: root/net/ricketyspace/ror/ten/source.rkt
diff options
context:
space:
mode:
Diffstat (limited to 'net/ricketyspace/ror/ten/source.rkt')
-rw-r--r--net/ricketyspace/ror/ten/source.rkt5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ricketyspace/ror/ten/source.rkt b/net/ricketyspace/ror/ten/source.rkt
index 6fa5228..a2b6a96 100644
--- a/net/ricketyspace/ror/ten/source.rkt
+++ b/net/ricketyspace/ror/ten/source.rkt
@@ -683,9 +683,10 @@
(place-image
(text (string-append
"Winning Probability "
- (number->string
+ (~r
(probability-of-winning (find-territory source)
- (find-territory target))))
+ (find-territory target))
+ #:precision 2))
TEXT-SIZE TEXT-COLOR)
(- WIDTH 150) 100 s)
s))