logo
  • 教程列表
  • SO官方文檔
  • SAS 中的資訊
    • 將 Excel 資料匯入 SAS
    • 匯入字元與數字
  1. StackOverflow 文件
  2. sas 教程
  3. SAS 中的資訊
  4. 匯入字元與數字

匯入字元與數字

Created: November-22, 2018

下面的示例使用 input 語句將源(在本例中為字串 123)中的值讀入字元目標和數字目標。

data test;
   source = '123';
   numeric_destination = input(source, best.);
   character_destination = input(source, $3.);
run;
  • 將 Excel 資料匯入 SAS

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明