todecimal()
Converts the input to a decimal number representation.
Note
When possible, use decimal literals instead.
Syntax
todecimal(
value)
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
value | scalar | ✔️ | The value to convert to a decimal. |
Returns
If conversion is successful, result will be a decimal number.
If conversion isn't successful, result will be null
.
Example
print todecimal("123.45678") == decimal(123.45678)
Output
print_0 |
---|
true |
Atsiliepimai
https://aka.ms/ContentUserFeedback.
Jau greitai: 2024 m. palaipsniui atsisakysime „GitHub“ problemų, kaip turiniui taikomo atsiliepimų mechanizmo, ir pakeisime jį nauja atsiliepimų sistema. Daugiau informacijos žr.Pateikti ir peržiūrėti atsiliepimą, skirtą