I have to find how many number after decimal
Eg:1.234 here there are 3 numbers so that ans is 3
Hi @sruthesanju ,
Try this.
test.xaml (5.3 KB)
Note: If value is in decimal then convert it to string.
You can find using split function
1 Like
You can try this One @sruthesanju
Hi @sruthesanju ,
You can also use regex here.
System.Text.RegularExpressions.Regex.Match(strTest,“(?<=[.])\S+”).value
Now you have 4 approaches here , choose any
Thanks.
hey @sruthesanju , can you mark the best suited solution from all above comments.
Thanks.