Click here to Skip to main content
16,011,804 members
Home / Discussions / Web Development
   

Web Development

 
Generalauto-generated pages Pin
will138311-Feb-03 5:19
will138311-Feb-03 5:19 
GeneralattachEvent problem Pin
karanba11-Feb-03 0:28
karanba11-Feb-03 0:28 
GeneralRe: attachEvent problem Pin
palbano11-Feb-03 6:37
palbano11-Feb-03 6:37 
Generaljavascript and NDOC Pin
Jonathan de Halleux11-Feb-03 0:05
Jonathan de Halleux11-Feb-03 0:05 
GeneralMoney... Pin
Megan Forbes10-Feb-03 23:34
Megan Forbes10-Feb-03 23:34 
GeneralRe: Money... Pin
Richard Deeming11-Feb-03 0:09
mveRichard Deeming11-Feb-03 0:09 
GeneralRe: Money... Pin
Megan Forbes11-Feb-03 0:25
Megan Forbes11-Feb-03 0:25 
GeneralRe: Money... Pin
Richard Deeming11-Feb-03 0:38
mveRichard Deeming11-Feb-03 0:38 
In that case, they probably round (or more likely, truncate) the numbers before summing them.

You could do the same thing by using the VBScript Round or Fix functions, or the SQL ROUND function:
  • Round:
    • VBScript: <nobr>value = Round(value, 2)
    • TSQL: <nobr>SET value = ROUND(value, 2)
  • Truncate:
    • VBScript: <nobr>value = Fix(value * 100) / 100
    • TSQL: <nobr>SET value = ROUND(value, 2, 1)



"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
QuestionHow to detect whether user has clicked 'Refresh' Button or any other (Standard Toolbar) Toolbar button Of The Browser. Pin
Vasudevan Deepak Kumar10-Feb-03 22:52
Vasudevan Deepak Kumar10-Feb-03 22:52 
AnswerRe: How to detect whether user has clicked 'Refresh' Button or any other (Standard Toolbar) Toolbar button Of The Browser. Pin
DFU2313-Feb-03 3:55
DFU2313-Feb-03 3:55 
GeneralUPDATED. accessing asp:datagrid from client side script Pin
devvvy10-Feb-03 18:28
devvvy10-Feb-03 18:28 
GeneralActivex can't create object: 'Excel.Application' Pin
shanksprasad10-Feb-03 17:52
shanksprasad10-Feb-03 17:52 
GeneralRe: Activex can't create object: 'Excel.Application' Pin
Richard Deeming11-Feb-03 0:11
mveRichard Deeming11-Feb-03 0:11 
GeneralMetatag content in two languages Pin
johncogan10-Feb-03 6:01
johncogan10-Feb-03 6:01 
GeneralRe: Metatag content in two languages Pin
Paul Watson10-Feb-03 6:11
sitebuilderPaul Watson10-Feb-03 6:11 
GeneralRe: Metatag content in two languages Pin
johncogan10-Feb-03 6:15
johncogan10-Feb-03 6:15 
GeneralRe: Metatag content in two languages Pin
markkuk10-Feb-03 8:42
markkuk10-Feb-03 8:42 
GeneralCDONTS ... URGENT Pin
syedhassan49-Feb-03 3:57
syedhassan49-Feb-03 3:57 
GeneralRe: CDONTS ... URGENT Pin
DFU2310-Feb-03 6:19
DFU2310-Feb-03 6:19 
GeneralRe: CDONTS ... URGENT Pin
Zeeshan Mehmood17-Feb-03 8:52
Zeeshan Mehmood17-Feb-03 8:52 
QuestionHow user download the file? Pin
Thuy Dinh8-Feb-03 16:32
Thuy Dinh8-Feb-03 16:32 
AnswerRe: How user download the file? Pin
Paul Watson10-Feb-03 0:58
sitebuilderPaul Watson10-Feb-03 0:58 
GeneralRe: How user download the file? Pin
Thuy Dinh10-Feb-03 3:01
Thuy Dinh10-Feb-03 3:01 
GeneralASPs link manager Pin
Davy Mitchell8-Feb-03 10:37
Davy Mitchell8-Feb-03 10:37 
GeneralRe: ASPs link manager Pin
Vasudevan Deepak Kumar10-Feb-03 23:07
Vasudevan Deepak Kumar10-Feb-03 23:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.