App-Schema : Stop converting numbers to exponentials

Hey there,

I’m probably seeing something completely over my head, I am finding that when accessing data via app-schema, numbers (and integers) are being converted to exponentials

    <AttributeMapping>
        <targetAttribute>mr-core:oreProcessed/swe:Quantity/swe:value</targetAttribute>
        <sourceExpression>
            <OCQL>QUANTITY_WELL</OCQL>
        </sourceExpression>
    </AttributeMapping>

The output is

<mr-core:oreProcessed>
  <swe:Quantity>
    <swe:uom code="kg"/>
    <swe:value>3.296641E9</swe:value>
  </swe:Quantity>
</mr-core:oreProcessed>

The source data is an Oracle 19c database, original datatype is NUMBER but casting to INTEGER or even converting to CHAR still results in GS/GT turning it into an exponent.

My only hint thus far is that this should be possible to force this with type=“xs:integer” but as I’m using external XSDs unlikethe possibly relevant postI found on the forum, I would have to then start editing these and managing a local cache which isn’t preferable.

I’m probably missing something much bigger but am a little blind for it right now, would be very grateful for any insight or advice!

Many thanks, Joey