Click here to Skip to main content
15,896,606 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Problem when subtracting large double values [VB6.0] PinPopular
Luc Pattyn2-Jun-09 16:19
sitebuilderLuc Pattyn2-Jun-09 16:19 
GeneralRe: Problem when subtracting large double values [VB6.0] Pin
_Damian S_2-Jun-09 16:51
professional_Damian S_2-Jun-09 16:51 
GeneralRe: Problem when subtracting large double values [VB6.0] Pin
Jon_Boy3-Jun-09 1:59
Jon_Boy3-Jun-09 1:59 
GeneralRe: Problem when subtracting large double values [VB6.0] Pin
Luc Pattyn3-Jun-09 3:13
sitebuilderLuc Pattyn3-Jun-09 3:13 
GeneralRe: Problem when subtracting large double values [VB6.0] Pin
N a v a n e e t h2-Jun-09 16:57
N a v a n e e t h2-Jun-09 16:57 
GeneralRe: Problem when subtracting large double values [VB6.0] Pin
Luc Pattyn2-Jun-09 17:08
sitebuilderLuc Pattyn2-Jun-09 17:08 
GeneralRe: Problem when subtracting large double values [VB6.0] Pin
N a v a n e e t h2-Jun-09 17:22
N a v a n e e t h2-Jun-09 17:22 
GeneralRe: Problem when subtracting large double values [VB6.0] Pin
Luc Pattyn2-Jun-09 17:34
sitebuilderLuc Pattyn2-Jun-09 17:34 
Hi,

on the same hardware, one would expect identical results, except for one thing: when you let the code show a floating-point value without specifying explicitly how many digits should be shown, then (the designers of the run-time library of) some languages may choose to show as many digits as are likely to be significant (e.g. always 16 digits, possibly truncating all the zeroes to the right), while other languages might choose to show a much lower number of digits by default (trying to show "rounder" numbers, i.e. hiding the anomalies to some extent).

Most languages also allow explicit specification of the output format (as in %22.16d in C); when such is done equivalently in different languages on the same hardware, I would expect the results to be identical.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

Questiontruncate table in sql 2005 by vb,net code Pin
atk88772-Jun-09 12:14
atk88772-Jun-09 12:14 
AnswerRe: truncate table in sql 2005 by vb,net code Pin
Henry Minute2-Jun-09 12:35
Henry Minute2-Jun-09 12:35 
GeneralRe: truncate table in sql 2005 by vb,net code Pin
atk88773-Jun-09 12:06
atk88773-Jun-09 12:06 
GeneralRe: truncate table in sql 2005 by vb,net code Pin
Henry Minute3-Jun-09 12:45
Henry Minute3-Jun-09 12:45 
GeneralRe: truncate table in sql 2005 by vb,net code Pin
atk88774-Jun-09 1:32
atk88774-Jun-09 1:32 
QuestionExport Excel Formula Pin
ross16642-Jun-09 5:51
ross16642-Jun-09 5:51 
AnswerRe: Export Excel Formula Pin
Kschuler2-Jun-09 5:59
Kschuler2-Jun-09 5:59 
GeneralRe: Export Excel Formula Pin
ross16642-Jun-09 19:18
ross16642-Jun-09 19:18 
QuestionVB.net: How to update database from datagridview Pin
Roger Rainey2-Jun-09 4:35
Roger Rainey2-Jun-09 4:35 
AnswerRe: VB.net: How to update database from datagridview Pin
Kschuler2-Jun-09 5:45
Kschuler2-Jun-09 5:45 
QuestionRe: VB.net: How to update database from datagridview Pin
JohannNutter22-Jul-09 9:08
JohannNutter22-Jul-09 9:08 
GeneralRe: VB.net: How to update database from datagridview Pin
Kschuler22-Jul-09 9:35
Kschuler22-Jul-09 9:35 
GeneralRe: VB.net: How to update database from datagridview Pin
JohannNutter22-Jul-09 10:26
JohannNutter22-Jul-09 10:26 
QuestionVBA and XL - Is this a Viable Function Request? [modified] Pin
Dalek Dave2-Jun-09 4:18
professionalDalek Dave2-Jun-09 4:18 
AnswerRe: VBA and XL - Is this a Viable Function Request? Pin
David Mujica2-Jun-09 4:55
David Mujica2-Jun-09 4:55 
GeneralRe: VBA and XL - Is this a Viable Function Request? Pin
Dalek Dave2-Jun-09 5:02
professionalDalek Dave2-Jun-09 5:02 
GeneralUnderstood Pin
David Mujica2-Jun-09 5:15
David Mujica2-Jun-09 5:15 

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.