a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Round numbers in Frontpage database results

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Round numbers in Frontpage database results
Page: [1]
 
waynejparker

 

Posts: 3
Joined: 12/31/2001
From: Atlanta GA USA
Status: offline

 
Round numbers in Frontpage database results - 2/14/2007 16:14:34   
Issue: too many decimal places in Frontpage database results

The results page online is showing up to 10 decimal places - I just want it to show the round number, which it does in the Access query which is the source for this. I've looked many places and can't find how to force it to display round numbers.

For example, the Query shows '2' but the database results field shows:

2.29248234367978

Thank you.

_____________________________

Wayne Parker
Spooky

 

Posts: 26617
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Round numbers in Frontpage database results - 2/15/2007 19:09:32   
You can use the round() function - an example can be found here :

www.w3schools.com/vbscript/func_round.asp

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to waynejparker)
waynejparker

 

Posts: 3
Joined: 12/31/2001
From: Atlanta GA USA
Status: offline

 
RE: Round numbers in Frontpage database results - 2/16/2007 15:30:06   
That worked great....thanks!

WP

(in reply to Spooky)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> ASP and Database >> Round numbers in Frontpage database results
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts