Search code examples
programming-languages

Which Programming Language is this formula


Can someone tell me what language(s) the following formula is formatted for?

IF(($A) > $B,$B, IF(($A) < $C,$C,($A)))

I work in PHP and I can interpret what it's intended to do

(if $A > $B then $B, if $A < $C then $C, ELSE $A) 

just not the language that would except it.


Solution

  • Just following up to close this off. First, there was a slight typo with an unecessary set of parenthesis in the example so ($A) could've just been $A in both cases. In any event, I discovered that this was used for something that was originally written in "ABAP".