summaryrefslogtreecommitdiff
path: root/apps/open_plugin.h
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2021-08-30 21:54:38 -0400
committerWilliam Wilgus <me.theuser@yahoo.com>2021-08-31 21:05:36 +0000
commitc04a944c98c52b6364c8a50aee0ab4e6149e99de (patch)
tree3bc4dab9d891381015b9fa5120ad1f0ab299fe22 /apps/open_plugin.h
parentd929444a413007244155e88bf87e7c75f0d2da30 (diff)
lib/argparse scale decimals to int for return to user
scales the fractional portion of the parsed number by ARGPARSE_FRAC_DEC_MULTIPLIER Example ARGPARSE_FRAC_DEC_MULTIPLIER = 10 000 meaning .0009 returns 9 , 9 / 10000 = .0009 .009 returns 90 .099 returns 990 .09 returns 900 .9 returns 9000 .9999 returns 9999 Change-Id: I38573dbc1877760b0d52df8686a6647894d76196
Diffstat (limited to 'apps/open_plugin.h')
0 files changed, 0 insertions, 0 deletions