Fixed Locale comma format
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@@ -101,13 +101,13 @@ export class PdfCreator {
 | 
				
			|||||||
        await Handlebars.registerHelper('--format_kilometers',
 | 
					        await Handlebars.registerHelper('--format_kilometers',
 | 
				
			||||||
            function (str) {
 | 
					            function (str) {
 | 
				
			||||||
                let meters = parseInt(str);
 | 
					                let meters = parseInt(str);
 | 
				
			||||||
                return ((meters / 1000).toFixed(3).toString())
 | 
					                return ((meters / 1000).toLocaleString("de-DE", { minimumFractionDigits: 1, maximumFractionDigits: 3 }))
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
        await Handlebars.registerHelper('--format_currency',
 | 
					        await Handlebars.registerHelper('--format_currency',
 | 
				
			||||||
            function (str) {
 | 
					            function (str) {
 | 
				
			||||||
                let meters = parseInt(str);
 | 
					                let meters = parseInt(str);
 | 
				
			||||||
                return ((meters / 100).toFixed(2).toString())
 | 
					                return ((meters / 100).toLocaleString("de-DE", { minimumFractionDigits: 2, maximumFractionDigits: 2 }))
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
        this.browser = await puppeteer.launch({ headless: true, args: minimal_args });
 | 
					        this.browser = await puppeteer.launch({ headless: true, args: minimal_args });
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user