Hi Nikhil - It may seem odd... but the implementation is currently behaving as I would have expected it to. It's rounding the number to 6 significant digits and then putting a .0 at the end to indicate it's a real (vs integer) value.
Could you say more about what you expect it to output? Thanks, -michael On 7/2/15, 7:48 PM, "Nikhil Padmanabhan" <[email protected]> wrote: >Hi ‹ > >I¹m getting unexpected behavior with writeln : > >Consider : > >var pi = 314159.2654; >writeln(pi); > >If I run this, I get > >314159.0 > >which is not what I would have expected. > >Thanks! >- Nikhil > > > >-------------------------------------------------------------------------- >---- >Don't Limit Your Business. Reach for the Cloud. >GigeNET's Cloud Solutions provide you with the tools and support that >you need to offload your IT needs and focus on growing your business. >Configured For All Businesses. Start Your Cloud Today. >https://www.gigenetcloud.com/ >_______________________________________________ >Chapel-bugs mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/chapel-bugs ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Chapel-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/chapel-bugs
