Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: variable format


From   "Feiveson, Alan H. (JSC-SK311)" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: variable format
Date   Thu, 10 Mar 2011 15:23:18 -0600

Hi - I have come across this problem before when I wanted to use the value of a variable or macro in a graphics title or axis label. Rounding doesn't work. I had to convert the values to strings and snip off the offending decimals (too much work).

Al Feiveson

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Daniel Klein
Sent: Thursday, March 10, 2011 2:09 PM
To: [email protected]
Subject: Re: st: variable format

Dear Andreas,

since it is not possible to store values like 8.77 exactly, like Maarten already mentioned, you might want to tell us more about the reason, why you want your variables to only have two decimals. Maybe there is another way to solve the underlying problem. 
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index