Is there a way to have an inline if statement in PHP which also includes a elseif?
I would assume the logic would go something like this:
$unparsedCalculation = ($calculation > 0) ? "<span style=\"color: #9FE076;\">".$calculation : ($calculation < 0) ? "<span style=\"color: #FF736A;\">".$calculation : $calculation;