Is there the ability in Eggplant to check a number for precision format?

So in my scenario I open a file in an editor, copy the data I want, paste it via the remoteClipboard into a variable. At this point I would like to verify the precision of the number. So if I have a number that has a format of 12.4f, I want to verify that the total length of the value is not longer than 12 digits and that the decimal portion is exactly 4 digits.

I have not seen any examples to do this nor can I find any ability in Eggplant to do this. I can get the total length by using the length function but I canât seem to figure out how to check the decimal portion of the number.

Thanks!