RightEdge Forums
Main     Home          Members     Calendar     Who's On

Welcome Guest
        



SystemParameters Output Expand / Collapse
Message
Posted 2/13/2010 19:13:51 Post #10856
 

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member
I'm trying to add Systemparater settings to the output pane.

How can I convert it to a string?

 SystemData.Output.Add(OutputSeverityLevel.Informational,

SystemParameters["Allocation"]);

Posted 2/14/2010 07:23:37 Post #10866
 

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being
SystemData.Output.Add(OutputSeverityLevel.Informational,SystemParameters["Allocation"].ToString());

You might also look at
OutputMessage(string.Format("Allocation value= {0:F2}",SystemParameters["Allocation"]));


-Pete
(See also rightedge-ats Yahoo group )

Posted 2/15/2010 15:05:49 Post #10878
 

Lead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead Developer
SystemParameters are doubles, you can do a ToString on them as well. phg's solution is fine too!
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: billb

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 10:17pm

2005-2007 © RightEdge Systems