Vuo 2.4.4
Loading...
Searching...
No Matches
VuoNumberFormat.h
Go to the documentation of this file.
1
10#pragma once
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16#include "VuoReal.h"
17#include "VuoText.h"
18
30typedef enum
31{
32 VuoNumberFormat_Decimal,
33 VuoNumberFormat_Percentage,
34 VuoNumberFormat_Currency
36
37#define VuoNumberFormat_SUPPORTS_COMPARISON
39
40VuoNumberFormat VuoNumberFormat_makeFromJson(struct json_object *js);
41struct json_object *VuoNumberFormat_getJson(const VuoNumberFormat value);
44
46 VuoNumberFormat format,
47 VuoInteger minimumIntegerDigits,
48 VuoInteger minimumDecimalPlaces,
49 VuoInteger decimalPlaces,
50 bool showThousandSeparator);
51
52bool VuoNumberFormat_areEqual(const VuoNumberFormat valueA, const VuoNumberFormat valueB);
53bool VuoNumberFormat_isLessThan(const VuoNumberFormat valueA, const VuoNumberFormat valueB);
54
63
68#ifdef __cplusplus
69}
70#endif