0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Salesforceで小数点第二位以下を切り捨てる方法

Posted at

Salesforceには数式項目があり、floor関数という数式があります

floor関数についての詳細はこちらヘルプをご参照ください

floor 関数

[もっとも近い整数に切り捨てられた数値を返します。]

floor関数を使用した例を示します。

※数値で小数点第二位以下を切り捨てる

floor(testA__c * 10) / 10

testA__cは数値項目のAPI参照名です

上記数式を使用すれば、
例えば数値項目が「4.66666」
の場合
「4.6」と表示可能です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?