­

Microsoft Dynamics AX/365 FO Developer`s Blog

Menu

Skip to content
  • All posts

Archive of entries posted on July 2024

如何在D365FO 中使用 Num2Str(因为每次使用的时候都会忘记)

19 July 2024, 5:16 pm

参数 : number :要转换为字符串的实数。 seperator1 参数的可能枚举值为:点(.),逗号 (,) seperator2 参数的可能值为:无,点(.),逗号(,),空格( ) 使用 static void Job_Num2Str(Args _args) { real realNum = 12345.6789; num2Str(realNum, 0, 2, DecimalSeparator::Dot, ThousandSeparator::None)   //12345.68 }  

| Tagged X++

Recent Posts

  • D365FO技术分享:使用X++优雅地处理Excel 新增行、合并单元格与格式化技巧
  • 分步指南:在 Dynamics 365 F&O 中构建自定义工作流(Step-by-Step Guide: Building a Custom Workflow in Dynamics 365 F&O)
  • 如何在 D365FO 的现有量查询中增加字段和数据源(Add the new field or datasource in Inventory On hand form using X++ in D365FO)
  • 如何在D365FO使用视图在窗体上显示某一个财务维度(Financial dimensions)
  • Tax is regulated on purchase ID xxx. Purchase orders cannot be rearranged when individual purchase orders are tax regulated.

Archives

  • April 2025
  • October 2024
  • July 2024
  • February 2024
  • December 2023
  • November 2023
  • June 2023

Categories

  • D365FO
© 2024 zhaoqiang`s blog
Powered by WordPress | Theme F2.