Over a million developers have joined DZone.

Using Choose, When And Otherwise To Replace - And +

·
This uses choose, when and otherwise to replace - and + when $day_change would return '+0.1p'. The result would be 'Up 0.1p'



 
    Up 
 
 
    Down 
 
 
    No change
 

Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}