<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # 組件源碼 ``` /** * <b>方法描述:</b> 元轉換為分 <br/> * <b>創建者:</b> admin <br/> * <b>創建時間:</b> 2020-12-16 10:14:30 <br/> * * @param inamt * 入參|輸入金額|{@link java.lang.Object} * @param outamt * 出參|輸出金額|{@link java.lang.String} * @return 0 失敗<br/> * 1 成功<br/> */ @Component(label = "元轉換為分", style = "處理型", type = "同步組件", comment = "將金額轉換成分為單位,支持千分符格式輸入,規則:輸入轉為數字后,乘以100", version = "1.0.0", deprecated = false, author = "admin", date = "2020-12-16 10:14:30") @InParams(param = {@Param(name = "inamt", comment = "輸入金額", type = java.lang.Object.class)}) @OutParams(param = {@Param(name = "outamt", comment = "輸出金額", type = java.lang.String.class)}) @Returns(returns = {@Return(id = "0", desp = "失敗"), @Return(id = "1", desp = "成功")}) @Order(value = 2) public static ResultBase P_amtToFen(Object inamt) { BigDecimal d = transform(inamt); if (d == null) return ResultBase.newFailureResult("TPTA0002", "輸入不是合法金額數據,輸入數據:" + inamt); d = d.multiply(new BigDecimal(100)).setScale(0); return ResultBase.newSuccessResult(d.toString()); } ``` # 交易中組件使用方式 ![](https://img.kancloud.cn/47/ff/47ff94bd5d121868864fc1bf7f745399_1865x863.png) # 參數說明及示例 ## 入口參數 輸入金額:傳入一個數值型參數,示例: `100` ## 出口參數 輸出金額:把輸入金額乘以100后返回,示例: `__INNER__["fen"]`
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看