IBM Support

Cannot recode numeric variables with comma based decimals into string variables using the Transform - Recode into different variables dialog

Troubleshooting


Problem

I am working with Statistics 18 on a comma based locale for decimal separators e.g. German or Polish In my data file I have a numeric variable with decimals e.g. 12,50 (this is 12.50 on a locale using dots as decimal separator). I would like to recode these values into a string variable with Recode into Different Variable dialog. On the Old and New Values dialog I select the option "Output variables are strings". I enter e.g. 12,50 as old value and 13,50 as new value. However, when I click on the Add button I get an error "Invalid numeric value" and I am unable to enter these string values, why is this? This does only happen when I have selected "Output variables are strings" and not with numeric output variables.

[{"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF014","label":"iOS"},{"code":"PF033","label":"Windows"}],"Version":"18.0","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

86950

Document Information

Modified date:
16 April 2020

UID

swg21485090