Home
last modified time | relevance | path

Searched refs:amount_whole_part (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/native/annotator/
Dentity-data.fbs176 amount_whole_part:int;
190 // For example $-1.75 is represented as `amount_whole_part`=-1 and
Dannotator.cc2711 &data->money->amount_whole_part)) { in ParseAndFillInMoneyAmount()
2743 const double amount_whole_part = in ParseAndFillInMoneyAmount() local
2744 data->money->amount_whole_part * pow(10, quantity_exponent) + in ParseAndFillInMoneyAmount()
2749 if (amount_whole_part < std::numeric_limits<int>::max()) { in ParseAndFillInMoneyAmount()
2750 data->money->amount_whole_part = amount_whole_part; in ParseAndFillInMoneyAmount()
Dannotator_test-include.cc74 EXPECT_EQ(entity_data->money()->amount_whole_part(), whole_part); in ExpectFirstEntityIsMoney()