Rank: Advanced Member
Groups: Registered, Registered Users Joined: 9/23/2009(UTC) Posts: 51
|
I have created the following code to get the date of 200 days ago. However, the year 2010 reads 2,010. How can I get rid of the comma?
writeval(ref(month(),-199),2.0)/writeval(ref(dayofmonth(),-199),2.0)/writeval(ref(year(),-199),2.0)
Also is there a more proper way to do this?
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
There can be significant differences between 200 days ago and 200 bars ago; make sure you are coding what you really want to get.
To get rid if the comma in the commentary, change your operating system international number format.
wabbit [:D]
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.