Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

how to convert macro value 1.0 to 1

sgnarkhede2016sgnarkhede2016 Member Posts: 152 Contributor II
edited March 2020 in Help
how to convert macro value 1.0 to 1
Tagged:

Best Answer

Answers

  • sgnarkhede2016sgnarkhede2016 Member Posts: 152 Contributor II
    edited March 2020
    I want to pass macro value 1 in generate Id operator but Currently I am getting macro value 1.0 
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,527 RM Data Scientist
    Hi,
    you can use Generate Macro to edit it.
    If you Extracted it from a data set, try Extract Macro (Format), which allows you to set the format for numerical values.

    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • sgnarkhede2016sgnarkhede2016 Member Posts: 152 Contributor II
    edited March 2020
    First I am generated Id then  Use extract macro to store the last id using  statistics max value because next time I want to start sequence from the last Id and needed value without a decimal point to generate sequence using generate Id operator 
  • sgnarkhede2016sgnarkhede2016 Member Posts: 152 Contributor II
    edited March 2020
    Use parse number it's work for me
Sign In or Register to comment.