Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: how to round to 2 decimal?
Replies: 11   Last Post: Jun 9, 2015 9:28 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 3,802
Registered: 1/25/05
Re: how to round to 2 decimal?
Posted: Mar 4, 2008 12:17 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Paul " <par@ceri.memphis.edu> wrote in message
> x = round((x*100))/100


>> x=pi;
x = round((x*100))/100


x =


ans =


Jerome (Dut)

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.