Rounding off numbers in asp result page.

J

jamesa

How should I modify the code below to round off the number
in the field to zero decimal place?

<!--webbot bot="DatabaseResultColumn" startspan
s-
columnnames="CourseTitle,DateFrom,DateTo,TrainerName,Traini
ng Content,Training Material,Training Tools,Course
Delivery,System Response,Overall
Session,Organization,Respondents"
s-column="Training Tools" b-
tableformat="TRUE" b-hasHTML="FALSE"
clientside
local_preview="&lt;font size=&quot;-
1&quot;&gt;&amp;lt;&amp;lt;&lt;/font&gt;Training
Tools&lt;font size=&quot;-
1&quot;&gt;&amp;gt;&amp;gt;&lt;/font&gt;"
preview="&lt;font size=&quot;-
1&quot;&gt;&amp;lt;&amp;lt;&lt;/font&gt;Training
Tools&lt;font size=&quot;-
1&quot;&gt;&amp;gt;&amp;gt;&lt;/font&gt;" --><%=FP_FieldVal
(fp_rs,"Training Tools")%><!--webbot
bot="DatabaseResultColumn" i-
CheckSum="36397" endspan -->


Regards,
JamesA
 
M

MD WebsUnlimited.com

Hi James,

Not possible in the webbot parameters.

Modify the code in the DRW instead using formatnumber(myNumber)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top