Forum: NinjaTrader
June 22nd, 2009, 07:04 AM
|
Replies: 17
Views: 8,507
If you want to Print() anything it will be...
If you want to Print() anything it will be important. There is also a particular closed-source script I have that requires it due to the way it calculates some math... so, 99% agree with you but 1%...
|
Forum: NinjaTrader
June 19th, 2009, 11:04 AM
|
Replies: 17
Views: 8,507
|
Forum: NinjaTrader
June 17th, 2009, 02:59 PM
|
Replies: 17
Views: 8,507
This code may be of use, it was provided by...
This code may be of use, it was provided by Roonius:
private string FormatZN(double price)
{
return String.Format("{0}'{1:000}", Math.Truncate(price), (price - Math.Truncate(price)) * 320);
}
...
|