Can I extract data from a website to use in PLEG (as a variable)

[quote=“RexBeckett, post:47, topic:186888”]X % 1 gives the remainder of dividing X by 1 - so the fractional part. X - (X % 1) is therefore the integer part of X. You can use it for rounding if you add 0.5: (X + 0.5) - ((X + 0.5) % 1).

You can also use it with a decimal modulus so you could get your two decimal places using:

(X + 0.005) - ((X + 0.005) % 0.01)[/quote]

Thanks Rex - you’re the best…