How to make sum of after Decimal numbers

I want to make the some of the numbers which occures after Decimal point.


As per above value my result should be 6 which is greater than zero.


Check as below for your reference

Mark as solution if this helps you


Can you please provide me the entire formula which is provided in Message Box.

sampleString.Split("."c)(1).ToArray().Sum(Function (x) Cdbl(x.ToString))


1 Like

it work for me, thnx alot

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.