12 Aug 2024 08:28 AM
Hi Experts
May i know which function to use to convert string value in to Integer or Number format?
12 Aug 2024 08:52 AM
@Mizső but i am getting null output, as the input value is a string.
01 Sep 2024 10:32 AM
toLong() conversion function , but the string being parameter needs to be a valid number, otherwise you will get null
data
record(s="1"),
record(s="1.2"),
record(s="a")
| fieldsAdd i=toLong(s), d=toDouble(s)