Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Java file issue

Summary:

hi

I am trying to upload a JavaScript file to OIC Library, but it prompts: "Failed to create Library. Unable to parse

function formatNumber(num,locale="en-US",decimalDigits=0){
var opts = { minimumFractionDigits: decimalDigits };
var output = parseInt(num).toLocaleString(locale,opts);
return output;
}

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):



Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!