Loading...

${(986849583 878964016)?c} Official

By default, FreeMarker uses when printing numbers. If your system is set to a US locale, a large number might be rendered with commas (e.g., 986,849,583... ), which will break JSON structures or JavaScript code. Without ?c (Human) With ?c (Computer) Output 986,849,583,878,964,016 986849583878964016 Locale Depends on user/server settings Independent of all locale settings Use Case Reports, Web pages, Emails JSON, JavaScript, Java, XML Common Use Cases for This Specific Format

Ensures long IDs in a JSON object remain valid numbers without thousand-separators that would cause parsing errors. ${(986849583 878964016)?c}

When building dynamic links where the ID must be a continuous string of digits. Advanced Tips Expressions - Apache FreeMarker Manual By default, FreeMarker uses when printing numbers

This is a crucial built-in that ensures the number is formatted as a "computer language" literal rather than for human reading. Why Use ?c ? Without

error: Content is protected !!