Support Board
Date/Time: Sat, 01 Feb 2025 06:36:58 +0000
[Programming Help] - String Format in Drawing Label
View Count: 686
[2019-06-26 17:03:35] |
User439067 - Posts: 48 |
auto angle = angle_rads * 180 / 3.14;
SCString angle_string; midpoint.Color = COLOR_RED; midpoint.Text.Format("Angle: ", angle); Can you tell me how to fix this? The label shows "Angle:" without the double. |
[2019-06-27 20:26:18] |
mkata - Posts: 103 |
You're missing your format specifier: midpoint.Text.Format("Angle: %f", angle); |
To post a message in this thread, you need to log in with your Sierra Chart account: