source:
binary-improvements/7dtd-server-fixes/src/JSON/JSONNumber.cs@
177
| Last change on this file since 177 was 154, checked in by , 11 years ago | |
|---|---|
| File size: 303 bytes | |
| Rev | Line | |
|---|---|---|
| [154] | 1 | using System; |
| 2 | ||
| 3 | namespace AllocsFixes.JSON | |
| 4 | { | |
| 5 | public class JSONNumber : JSONNode | |
| 6 | { | |
| 7 | private float value; | |
| 8 | ||
| 9 | public JSONNumber (float value) | |
| 10 | { | |
| 11 | this.value = value; | |
| 12 | } | |
| 13 | ||
| 14 | public override string ToString () | |
| 15 | { | |
| 16 | return value.ToString (System.Globalization.CultureInfo.InvariantCulture); | |
| 17 | } | |
| 18 | ||
| 19 | } | |
| 20 | } | |
| 21 |
Note:
See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)