dbnetsoft
RaceResultExchange
RaceResultExchange
  • General
    • Installation
    • Configuration
      • Exporter
      • WebHooks
    • Licensing
  • Operation Modes
    • Photofinish Sync
    • Displayboard
      • Modes
        • Countdown
        • Runtime
        • Passings
        • Timetrial
        • Lap Counter
      • Scripting
      • Brands/Models
        • FDS MLED
          • Scripting
            • Custom Functions
            • Startclock
            • Clock w/ flashing seperators
            • Conditional formatting difftime
            • Clock, Runtime, Gaptime (Globals)
            • Clock, Runtime, Gaptime (Offline)
            • Countdown to planned starttime and then runtime (Globals)
        • ALGE-Timing GAZ/D-Line
          • Scripting
            • Custom Functions
            • Clock
            • Clock w/ flashing seperator
            • Clock, Runtime, Gaptime
    • Triggered Actions
  • Scripting
    • Functions
    • Examples
      • Racemap
    • Globals
      • Variables
      • RR12 Lists
      • HTTP GET JSON
  • Release Notes
  • Frequently asked questions (FAQ)
    • Gap Time Reference is not set from external pushbutton
    • Accents not shown on FDS MLED
Powered by GitBook
On this page
  1. Operation Modes
  2. Displayboard
  3. Brands/Models
  4. ALGE-Timing GAZ/D-Line
  5. Scripting

Custom Functions

Method
Parameters
Description

gaz.FormatTime

"precision"

Formats the converted timespan to a given precision and makes sure that the format matche the ALGE-Timing protocol Example: {{ "[RuntimeDisplayboard]" | gaz.FormatTime "Hundredths" }}

precision can be any of the following enumeration:

  • "Seconds" or 0

  • "Tenths" or 1

  • "Hundredths" or 2

  • "Thousands" or 3

PreviousScriptingNextClock

Last updated 8 months ago