Item ID interpreted as number in scientific e notation

Hello friends, i’ve had some weird occurences using unique_id(), generally when it generates an all-numbers combination, but today I found a new one !

I got an item with this unique_id() generated ID: 394677E6

The above item was referenced in another table, and it’s ID was saved in an appropiate [Item_ref] column, but it saved the reference as 3.95E+11, which throws the reference off in my app.

The fix is trivial, just change both ID’s, but how can I prevent this from happening again?

Solved Solved
0 2 118
1 ACCEPTED SOLUTION

Please check if the column type for UNIQUEID() column in the backend is set to “Automatic” . If so please change it to “Plain Text”. I think with column type as automatic, the UNIQUEID() having “E” is treated as a scientific number.

@Steve recently shared these useful tricks on spreadsheet formatting.

View solution in original post

2 REPLIES 2

Please check if the column type for UNIQUEID() column in the backend is set to “Automatic” . If so please change it to “Plain Text”. I think with column type as automatic, the UNIQUEID() having “E” is treated as a scientific number.

@Steve recently shared these useful tricks on spreadsheet formatting.

3X_7_4_746d3894dfcd021aabf817d32e6dca0ce3635355.png

3X_5_b_5b187e90b11078d4570da74c80a73d9d67461435.gif

Thanks a lot @Suvrutt_Gurjar ! I will check Steve’s post as well.

Top Labels in this Space