This page describes which number formats are encountered in the various route and train files and how to adhere to them. |

↷ 2. Integers

↷ 3. Floating-point numbers

↷ 4. Times

↷ 5. Color values

There are two parsing methods for numbers:

Examples for
Strict integers: | |

▶ |
0123 -98 |

Examples for
Loose integers: | |

▶ |
12377 11 -987x456 |

The interpreted integers from the preceding examples are:
| |

▶ |
1237711 -987 |

Examples for
Strict floating-point numbers: | |

▶ |
123123. 123.0 123.456 0.456 .456 -123.456 |

Examples for
Loose floating-point numbers: | |

▶ |
-123 . 456987,333 |

The interpreted floating-point numbers from the preceding examples are:
| |

▶ |
-123.456987 |

▶ |
hhh.mmsshhh.mmshhh.mmhhh.mhhh |

Seconds since midnight for a given time:
| |

ƒ |
3600*hhh + 60*mm + ss |

Examples for times:
| |

▶ |
23.590024.0215 |

▶ |
#RRGGBB |

Commonly used colors (to indicate transparency) include:

▶ |
#000000 (black)#FF0000 (red) #00FF00 (green) #0000FF (blue) #00FFFF (cyan) #FF00FF (magenta) #FFFF00 (yellow) #FFFFFF (white) |