JsonValue.AsDecimal() Method
Version: Available or changed with runtime version 1.0.
Converts the value in a JsonValue to a Decimal data type.
Syntax
Result := JsonValue.AsDecimal()
Parameters
JsonValue
Type: JsonValue
An instance of the JsonValue data type.
Return Value
Result
Type: Decimal
If the JsonValue does not contain a number or a string which can be converted without loss of precision to a Decimal, the operation will fail with a run-time error.
See Also
JsonValue Data Type
Get Started with AL
Developing Extensions
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : pendant toute l’année 2024, nous allons éliminer progressivement Problèmes GitHub comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, voir :Soumettre et afficher des commentaires pour