Its a data type shorthand, just says that .5 is of type Double. You can safely remove it, or change it to CDbl(.5).
Its a strange error though, I thought these # constructs were still valid in the latest versions of
VB. Don't know anything about the Palm though...