Hi Paul,
I don't have a system in front of me to test and I am unable to check your formula (I am writing using iPad). Please continue testing, starting with the copy of standard measure and add strtovalue...
i Am not sure that the error is related to strtovalue.
Vadim