---
title: "Discussion on \"Easy Number Handling in JavaScript with APEX.LOCALE\" | Hashnode"
description: "Discussion on \"Easy Number Handling in JavaScript with APEX.LOCALE\". Read how to use the apex.locale JavaScript functions to easily convert Page Item values to numbers and vice versa."
url: "https://hashnode.com/posts/easy-number-handling-in-javascript-with-apexlocale/64f086eb0e3c7a9a7ada502c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Easy Number Handling in JavaScript with APEX.LOCALE](https://blog.cloudnueva.com/easy-number-handling-in-javascript-with-apexlocale?utm_source=hashnode&utm_medium=feed)

Read how to use the apex.locale JavaScript functions to easily convert Page Item values to numbers and vice versa.

Aug 31, 2023 · 3 min read · blog.cloudnueva.com  
Updated Aug 21, 2024  
Read the article

-   [#orclapex](https://hashnode.com/tag/orclapex)
-   [#oracle](https://hashnode.com/tag/oracle)

## Written by

[Jon Dixon](https://hashnode.com/@orclapex)

@orclapex · San Diego, CA

  
[View profile](https://hashnode.com/@orclapex)

APEX, ORDS & the Oracle Database

I’m Jon Dixon, an Oracle APEX developer and consultant at Cloud Nueva. I write about APEX, ORDS, the Oracle Database, and how AI is changing the way we build software. This blog is where I share practical examples, lessons learned, and ideas from my work.

## Responses 1

Markdown supported · ⌘↵ to post

[Karel Ekema](https://hashnode.com/@kekema)

[Oct 11, 2023](https://hashnode.com/posts/easy-number-handling-in-javascript-with-apexlocale/64f086eb0e3c7a9a7ada502c/comment/65265c2990eb89e1e464fe2d)

Nice illustration of these methods. I found also the getNativeValue() method of use, from the numberFieldItem interface. eg apex.item( "P10\_NUMBER\_FIELD" ).getNativeValue(); This method automatically takes into account any format mask as configured on the item field.

[Jon Dixon](https://hashnode.com/@orclapex)

[Oct 12, 2023](https://hashnode.com/posts/easy-number-handling-in-javascript-with-apexlocale/64f086eb0e3c7a9a7ada502c/comment/65265c2990eb89e1e464fe2d#reply-6527ff51443b82f5baff5e83)

Thank you for the tip Karel; much appreciated.
