Skip to content

Commit

Permalink
fix ffi tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed Jun 10, 2024
1 parent 70309e5 commit 25e8578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/c-tiny/fixeddecimal/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ int main(int argc, char *argv[]) {

ICU4XDataProvider* provider = ICU4XDataProvider_create_compiled();
ICU4XFixedDecimal* decimal = ICU4XFixedDecimal_create_from_u64(1000007);
ICU4XFixedDecimal_half_even(decimal, 0);
ICU4XFixedDecimal_round(decimal, 0);

diplomat_result_box_ICU4XFixedDecimalFormatter_ICU4XError fdf_result =
ICU4XFixedDecimalFormatter_create_with_grouping_strategy(provider, locale, ICU4XFixedDecimalGroupingStrategy_Auto);
Expand Down

0 comments on commit 25e8578

Please sign in to comment.