Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6759 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

The GetAsNumber function returns the value "?" when passed the parameter "?". This behaviour confused me at first, just thought I'd try to get some feedback before reporting it to FileMaker as a bug.

The question mark symbol is not a valid number and when passed as part of a string it is correctly stripped out as non-numeric, i.e.

"1?1" -> "11"

But it is not removed when it is on its own, i.e.

"?" -> "?"

I'm inclined to believe this is not a bug, it seems to go against the logic of the function however a single question mark usually indicates an error in a calculation, I think the function is merely cascading this error

e.g. if the following calc produces a "?"

"1/0"

then you would expect the following to produce a "?"

"GetAsNumber(1/0)"

Just thought I'd check this function is behaving correctly, and also let people know about this behaviour.

This topic is 6759 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.