Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
CNNArch2X
Commits
75359ac4
Commit
75359ac4
authored
Sep 28, 2020
by
Malte Heithoff
Browse files
Update TemplateConfiguration number format
parent
a9728104
Pipeline
#336012
passed with stage
in 1 minute and 37 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/main/java/de/monticore/lang/monticar/cnnarch/generator/TemplateConfiguration.java
View file @
75359ac4
...
...
@@ -25,6 +25,10 @@ public abstract class TemplateConfiguration {
configuration
.
setClassForTemplateLoading
(
TemplateConfiguration
.
class
,
getBaseTemplatePackagePath
());
configuration
.
setDefaultEncoding
(
"UTF-8"
);
configuration
.
setTemplateExceptionHandler
(
TemplateExceptionHandler
.
RETHROW_HANDLER
);
// numbers in windows germany are formatted as '0,2' instead of '0.2'
configuration
.
setNumberFormat
(
"computer"
);
return
configuration
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment