diff options
| author | Cody <cody@codyq.dev> | 2023-02-27 07:21:50 -0600 |
|---|---|---|
| committer | Cody <cody@codyq.dev> | 2023-02-27 07:21:50 -0600 |
| commit | ebfd74ddf0ef6372624ea171e06f8460d0e1351b (patch) | |
| tree | d59df0e9600a6f2b86b57949048cf990a3e102ae /tour/literals.sloth | |
| parent | a653a6602fe5ae5eb4739755db7b34bc92ecdadf (diff) | |
| download | sloth-ebfd74ddf0ef6372624ea171e06f8460d0e1351b.tar.gz | |
pain
Diffstat (limited to 'tour/literals.sloth')
| -rw-r--r-- | tour/literals.sloth | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tour/literals.sloth b/tour/literals.sloth index e2be0d0..9109645 100644 --- a/tour/literals.sloth +++ b/tour/literals.sloth @@ -1,6 +1,6 @@ # Literals val number = 85; #TODO: Decide on default integer type -val number = 85.0; # f64 is the default float type +val number = 85.0; # f64 is the default decimal type val number: u16 = 27; # If you want more control over memory usage you can specify a integer type val number: u16 = 27u16; |
