Vuo
2.4.4
Loading...
Searching...
No Matches
node
vuo.text
VuoNumberFormat.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
16
#include "
VuoReal.h
"
17
#include "
VuoText.h
"
18
30
typedef
enum
31
{
32
VuoNumberFormat_Decimal,
33
VuoNumberFormat_Percentage,
34
VuoNumberFormat_Currency
35
}
VuoNumberFormat
;
36
37
#define VuoNumberFormat_SUPPORTS_COMPARISON
38
#include "
VuoList_VuoNumberFormat.h
"
39
40
VuoNumberFormat
VuoNumberFormat_makeFromJson
(
struct
json_object *js);
41
struct
json_object *
VuoNumberFormat_getJson
(
const
VuoNumberFormat
value);
42
VuoList_VuoNumberFormat
VuoNumberFormat_getAllowedValues
(
void
);
43
char
*
VuoNumberFormat_getSummary
(
const
VuoNumberFormat
value);
44
45
VuoText
VuoNumberFormat_format
(
VuoReal
value,
46
VuoNumberFormat
format,
47
VuoInteger
minimumIntegerDigits,
48
VuoInteger
minimumDecimalPlaces,
49
VuoInteger
decimalPlaces,
50
bool
showThousandSeparator);
51
52
bool
VuoNumberFormat_areEqual
(
const
VuoNumberFormat
valueA,
const
VuoNumberFormat
valueB);
53
bool
VuoNumberFormat_isLessThan
(
const
VuoNumberFormat
valueA,
const
VuoNumberFormat
valueB);
54
59
char
*
VuoNumberFormat_getString
(
const
VuoNumberFormat
value);
60
void
VuoNumberFormat_retain
(
VuoNumberFormat
value);
61
void
VuoNumberFormat_release
(
VuoNumberFormat
value);
63
68
#ifdef __cplusplus
69
}
70
#endif
Generated on Thu Nov 9 2023 16:59:30 for Vuo by
1.9.8