LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
JimChretz

LabVIEW should handle 0x, 0d, 0b, 0o in numeric constants

When we want to create a hexadecimal, binary or octal constant, we need to right-click properties, change display format to hexadecimal, and then switch tab and click show radix to make it nicer for code readability.

 

These steps should be automated by typing "0x..." inside the numeric constant. If the constant is already decimal and we type "0d..." it should just take it as a "show radix" command.

 

And why not to the controls as well? Software user might find it useful.

 

Untitled.png

3 Comments
crossrulz
Knight of NI

Duplicate: Make numeric display format auto-set to what you input

More exact of a duplicate: Autoadapt numeric constant radix plus automatic radix conversions


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
JimChretz
Active Participant

Oh Thanks!

 

I just kudoed both.

Darren
Proven Zealot