Support Board
Date/Time: Mon, 03 Nov 2025 08:25:56 +0000
Post From: ASCIL how to obtain the Price Display Format?
| [2021-02-02 13:19:54] |
| User92573 - Posts: 574 |
|
Hmmm.... I can set the sc.ValueFormat but I'm still struggling to get the actual value though? // Find the Price Display Formatting using the sc.ValueFormat if(sc.ValueFormat == 0) { FormatOffset = 1 * Input_Multiplier.GetFloat(); } else if(sc.ValueFormat == 1) { FormatOffset = 0.1 * Input_Multiplier.GetFloat(); } else if(sc.ValueFormat == 2) { FormatOffset = 0.01 * Input_Multiplier.GetFloat(); } .... and on What I end up with up with seems to be the sc.ValueFormat integer value as opposed to the value it's associated with? Any direction would be very helpful Many thanks |
