My Oracle Support Banner

.NET Client Throws NumberFormatException For Decimal Values With M (Doc ID 2167942.1)

Last updated on MARCH 29, 2017

Applies to:

Oracle Coherence - Version 12.1.2.0.0 to 12.2.1.1.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

On Coherence .NET 12.2.1.1.0 , below C# Coherence api throws NumberFormatException.

Sample C# code:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoherenceBug
{
class Program
{
static void Main(string[] args)
{
decimal value = 0.000000M;
Tangosol.Util.NumberUtils.GetUnscaledValue(value); //throws NumberFormatException.
}
}
}

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.