MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

InputField Rounding Problem

Hi. Any suggestions on how to stop the number type field below
displaying input as 69.5999999...?   Thanks

InputField[Dynamic[x], ImageSize -> {100, 20},
 ContinuousAction -> True]
x = 69.6
InputField[Dynamic[y], Number, ImageSize -> {100, 20},
 ContinuousAction -> True]
y = 69.6

  • Prev by Date: Precision of calculations
  • Next by Date: Re: Function to detect presence of a variable in
  • Previous by thread: Re: Precision of calculations
  • Next by thread: Re: InputField Rounding Problem