Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

InputField Rounding Problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg109426] InputField Rounding Problem
  • From: Chris Degnen <degnen at cwgsy.net>
  • Date: Tue, 27 Apr 2010 04:04:11 -0400 (EDT)

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