VB Code:
  1. Option Explicit
  2.  
  3. Private Sub Form_Load()
  4.     Dim d As Double
  5.     d = CDbl("999999999999999.01")
  6.     d = d - CDbl("999999999999999")
  7.     MsgBox d
  8.     MsgBox 0.0000000001
  9.     MsgBox CDbl("99999999999999999999999")
  10.     MsgBox Sin(CDbl("99999999999999999999999"))
  11. End Sub
Why does the first msgbox not output with any precision
when the second does?
Sin takes a double as an argument, so why does the last
statement give an error?