Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Jun 06, 2011 12:09 PM|LINK
ha, I think I understood the reason of this - when returning result function "If" tries to convert it to the needed type.
But it works incorrectly - it converts result to "Decimal" and not to "Decimal?",
so "Nothing" is converted to decimal 0 and no error is thrown.. :)