Hi!
Could someone please help me convert this excel spreadsheet formula to php?
I would like to use the ternary operator too.
The formula is:
IF (IF ( B13<1250; (3,54*B13)-2285,92; (8,38*B13)-8333,32 ) < 0; 0; IF ( B13<1250; (3,54*B13)-2285,92; (8,38*B13)-8333,32 ))
I know that in excel, the IF statement is IF(LOGIC_TEST; VALUE_IF_TRUE; VALUE_IF_FALSE)
Thanks,
Mário




Bookmarks