I want to format my Amount with currency and at the same time use the condition contains
, bur I'm not sure how to put it
Currency is working:
<apex:outputText value="{0, number, currency}" rendered="{!relatedTo.Amount < 25000 }">
<apex:param value="{!ABS(relatedTo.Amount)}" />.
</apex:outputText>
but I need to add another condition using if contains
. Below is not working when using value with currency format and if contains
<apex:outputText value="{0, number, currency} {!if(CONTAINS(relatedTo.Product_Details_vfe__c,"Esri Inc") && relatedTo.Amount < 25000,
'<br>this ' + RelatedTo.Amount + '</br>
','')}" escape="false"/>