Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.9K Views
|
4 Replies
|
4 Total Likes
View groups...
Share
Share this post:

Display Precision for Real number

Posted 11 years ago
POSTED BY: Al Guy
4 Replies
Posted 11 years ago

I didn't realize, it's trivial: SetPrecision

POSTED BY: Al Guy
POSTED BY: Nasser M. Abbasi
Posted 11 years ago

I have some situation like this:

InputField[Dynamic[ww]]
Button["ok", ww = RandomReal[]]

Where the output of computation is feeded back into InputField line but because computation is done with high precision the Field's line is flooded with digits, but I need it to display some approximate value. NumberForm doesn't seem to work here.

POSTED BY: Al Guy

Look at the documentation on NumberForm

POSTED BY: Frank Kampas
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard