aboutsummaryrefslogtreecommitdiff
path: root/core/strings
diff options
context:
space:
mode:
authorTimo <timo.sperisen@gmail.com>2024-04-29 20:22:53 +0200
committerGitHub <noreply@github.com>2024-04-29 20:22:53 +0200
commit2918baa3e860601d0cd5933a6caed237f11acea9 (patch)
treeac3375daec4aa9cd21ad70c86871f80c6d0ed7fe /core/strings
parentff0973e0f55e5c1d3aad4b80dc73e740fde4105c (diff)
Update builder.odin
Modify documentation-text for procedure write_f64 : change type f32 to f64
Diffstat (limited to 'core/strings')
-rw-r--r--core/strings/builder.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/strings/builder.odin b/core/strings/builder.odin
index 72eb815f9..267feeba1 100644
--- a/core/strings/builder.odin
+++ b/core/strings/builder.odin
@@ -709,11 +709,11 @@ write_f32 :: proc(b: ^Builder, f: f32, fmt: byte, always_signed := false) -> (n:
return write_string(b, s)
}
/*
-Writes a f32 value to the Builder and returns the number of characters written
+Writes a f64 value to the Builder and returns the number of characters written
Inputs:
- b: A pointer to the Builder
-- f: The f32 value to be appended
+- f: The f64 value to be appended
- fmt: The format byte
- always_signed: Optional boolean flag to always include the sign