format calculated field

L

Licass

I have this calculated field in a form that sometimes have a double number
and i want always to be an integer. How can i do that?
 
S

Stefan B Rusynko

What server side language are you using

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


|I have this calculated field in a form that sometimes have a double number
| and i want always to be an integer. How can i do that?
|
|
 
S

Stefan B Rusynko

use
<%x=Cint(yourvariable)%>

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| ASP
| "Stefan B Rusynko" <[email protected]> escreveu na mensagem
| | > What server side language are you using
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > _____________________________________________
| >
| >
| | > |I have this calculated field in a form that sometimes have a double
| number
| > | and i want always to be an integer. How can i do that?
| > |
| > |
| >
| >
|
|
 

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