AnsweredAssumed Answered

Why my PRINTF cannot prints values greater than 2147483647?

Question asked by Vivien Lin on Jan 30, 2019
Latest reply on Feb 11, 2019 by Vivien Lin

Hi,

 

I'm trying to print a double value greater than 2147483647 but the output is always display 2147483647.0000000000 on the terminal. Can someone helps me to solve this issue?

 

This is my code:

 

The results are:

 

 

From the debug window I can see the value val is greater than 2147483647.

 

 

I'm using MCUXpresso IDE v10.3.0
SDK_2.x_EVK-MIMXRT1060 v2.5.0

I've done these settings so far but still no luck.

Outcomes