This is a picture of a payment I made via

my bot to my Stripe account. Now, the stripe docs says processing fees are calculated by 2.9% + 30cents but this is actually $0.33 (to 2 dp). But it says $0.34. Does anyone know if telegram makes a charge too? I can't find anything that says it does in the docs

13 ответов

4 просмотра

It obviously rounds up to avoid losing money

elf- Автор вопроса
Paul Larsen
It obviously rounds up to avoid losing money

That's sad. Would have been cool if this was consistent. Thanks though

elf
That's sad. Would have been cool if this was consi...

It is consistent, it rounds up to avoid monetary loss

Paul Larsen
It is consistent, it rounds up to avoid monetary l...

2.9%+30 of 100 rounded up would be 33 though

Read this part again @SonOfLars

sunglasses
Read this part again @SonOfLars

I assumed the 0.33 to 2dp was rounded down, because it was truncated by using dp. Hence why Stripe would round up to 0.34.

elf- Автор вопроса
elf
the calc value is 0.329.

I don't work for stripe, i can't tell you why it's 0.34, what more do you want me to say. maybe it's floating point stuff, who knows

Paul Larsen
I don't work for stripe, i can't tell you why it's...

Then perhaps you shouldn't have chimed in in the first place if you didn't have an intelligible answer

elf- Автор вопроса
sunglasses
Then perhaps you shouldn't have chimed in in the f...

Quit the toxic attitude, I tried to help assuming people knew the difference between DP and SF, that was clearly a wrong assumption on my part, why do you need to be so aggressive

elf- Автор вопроса
Paul Larsen
Quit the toxic attitude, I tried to help assuming ...

Whether you tried to help or not, you failed. You either didn't understand the math, or just wanted to argue about the terminology. I'm only aggressive because you keep arguing the same things despite both options (DP/SF) not adding up correctly. You keep missing the point just to argue about terminology, which is frankly weird.

Похожие вопросы

Обсуждают сегодня

На работе пишем распределенное приложение, у которого сотни, если не тысячи настроек. Конфиги написаны на xml, расположены на разных хостах и должны быть согласованы друг с др...
Aleksandr Druzhinin
5
Мне интересно, скорее людей здесь используют D, Rust, C/C++ для решения реальных прикладных задач за деньги?)
Evil Satanson
49
Что по дедлайну? Я бы хотел попробовать, но у меня опыта мало..
Евгений
1
Я правильно понимаю что партишены раскидываются по брокерам для отзазоустойчивости и только одна партиция всегда ведущая. Остальные фоловеры?
Dmitry Bubnenkov
3
А библиотеку на D как-то можно в C/C++ использовать?
Степан
5
а динамически увеличивать стек нельзя? а ну хотя да, откуда ты узнаешь что стек кончился...
Neko Dark Nightwolfdarkanronpa
2
а что за Red?
Aleksandr Druzhinin
1
На D нет нормальных библиотек для CLI/TUI? Для GUI куча всего и что-то даже еще обновляется, а для TUI как-то грустно..
Степан
3
хотя... яб скорее просто бы написал себе тренажёр слепой печати, стырив идеи с существующих, а потом всем бы хвастался, мол, вот вы на чем учились печатать? воот... а я себе с...
Constantin F.
5
Вопрос такой. Можно ли кафку считать оаспределенной хэш таблицей? Если очень упростить
Dmitry Bubnenkov
3
Карта сайта