Skip to content

Commit

Permalink
DOC-1845-3.6-string example updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Tushar-TG-14 authored Dec 20, 2024
1 parent 5bf7175 commit 69d27d6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/querying/pages/func/type-conversion-functions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,13 @@ Converts a number to a string.
| The number to turn into a string
| Number
|===
=== Example
----
to_string(1000.1) -> "1000.1"
to_string(0.0000000001) -> "1E-10"
to_string(12300000000) -> "12300000000" // Using an `INT` or `UINT` value returns the full number as a string without scientific notation
to_string(12300000000.0) -> "1.23e+10" // Using a `DOUBLE` value returns scientific notation for large numbers
to_string(12300000000.0) -> "1.23e+10" // Using a `FLOAT` value also returns scientific notation for large numbers
----

0 comments on commit 69d27d6

Please sign in to comment.