Question with ToExpression
- To: mathgroup at smc.vnet.net
- Subject: [mg119621] Question with ToExpression
- From: graser <graser at gmail.com>
- Date: Tue, 14 Jun 2011 06:14:33 -0400 (EDT)
Dear Group, I am trying to make an expression of 1.0 with ToExpression. But if I use it, ToExpression[1.0], the output is 1. instead of 1.0 In[1]:= ToExpression["1.0"] Out[1]= 1. Or In[2]:= ToExpression[1.0] Out[2]= 1. Is there any way to make it possible to make the output as 1.0 not 1.? Thanks!
- Follow-Ups:
- Re: Question with ToExpression
- From: Murray Eisenberg <murray@math.umass.edu>
- Re: Question with ToExpression