function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
PbondalapatiPbondalapati 

VisualForce FLOOR function syntax problem

The line:

 

<apex:pageBlock">

     <apex:inputText value="{!FLOOR(tier.unit__c)}"/>

 

produces this runtime problem:

 

Syntax error. Missing ')'
Error is in expression '{!FLOOR(tier}' in component.

liron169liron169
Hi,
This specific line seems OK,
so it is possible that you miss ')' somewhere before that.
kevin lamkevin lam

You can't apply a function to a the merge field of an inputText component.