英文:
I need a conversion of string to decimal using jsonata
问题
{
"Amt": 99.00
}
英文:
Json:
{
"Amt":"99.00"
}
Need output like
{
"Amt":99.00
}
答案1
得分: 1
你可以使用$number函数,在playground上查看示例:https://stedi.link/ZYFdShe
{
"Amt": $number(Amt)
}
英文:
You can use the $number function, see it live on the playground: https://stedi.link/ZYFdShe
{
"Amt": $number(Amt)
}
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论