Skip to Content
๐ŸŽฒ Welcome to RandBox - Powerful JavaScript Random Data Generation Library! Learn More

euro

// usage randBox.euro() randBox.euro({max: 250})

Return a random euro amount. Formatting depends on the current locale (samples are displayed with european formatting)

randBox.euro(); => "2.560,27โ‚ฌ" randBox.euro(); => "750.99โ‚ฌ"

By default returns euro amount no larger than 10000. Optionally specify the max to make it larger (or smaller).

randBox.euro({max: 20}); => "15,23โ‚ฌ" randBox.euro({max: 10000000}) => "5.051.205,49โ‚ฌ"
Last updated on: