Re: [請益] 公教優惠儲蓄的問題
(本文公式有更正在底部)
公教 定期儲蓄存款 半年給息 利率1.595%
附件為細算公式 至少問了六位行員
如果不說 你一定不知道Trick在那裡
那一家的我不想說了
最後得知 它是單利 同時 以int(integer整數去除小數點) 來算
你可以心算出第一年前兩個月是 0
無言...........................
公教人員 你們辛苦了
台北富邦數位客服:
定存利息的計算方法,採按日計息
一、算式:本金X年利率/365天*存款天數,
故每月給息者,金額可能因月份天數不同有些微差異
注意它是 [按日計息]
由於沒有註明是四捨五入 所以我一概去除小數點
10000*1.595%/365*1 = 0.43698630137 第1天 利息是 0
10000*1.595%/365*1 = 0.43698630137 第2天 利息是 0
第一個月 利息 0
////////////////////////////細算公式///////////////
Result0: 858 第一年利
Result1: 2801 第二年利
Result2: 4760 第三年利
將code start 到 code end 放入此站 然後點網站中第一列的Run看結果
https://www.onlinegdb.com/online_c++_compiler
如圖
https://www.mediafire.com/view/yvgqp550i4017zx/bank_interest.png/file
//code start
#include <iostream>
#include <stdio.h>
int main()
{
double half_interest0;
double half_interest1;
double accumulation = 0.0;
accumulation += ((int)(10000 * 1.595 / 100 / 365)) * 31;
accumulation += ((int)(20000 * 1.595 / 100 / 365)) * 28;
accumulation += ((int)(30000 * 1.595 / 100 / 365)) * 31;
accumulation += ((int)(40000 * 1.595 / 100 / 365)) * 30;
accumulation += ((int)(50000 * 1.595 / 100 / 365)) * 31;
accumulation += ((int)(60000 * 1.595 / 100 / 365)) * 20;
half_interest0 = accumulation;
accumulation = 0.0;
accumulation += ((int)((60000 + half_interest0) * 1.595 / 100 / 365)) * 10;
//6/21 pay interest
accumulation += ((int)((70000 + half_interest0) * 1.595 / 100 / 365)) * 31;
accumulation += ((int)((80000 + half_interest0) * 1.595 / 100 / 365)) * 31;
accumulation += ((int)((90000 + half_interest0) * 1.595 / 100 / 365)) * 30;
accumulation += ((int)((100000 + half_interest0) * 1.595 / 100 / 365)) * 31;
accumulation += ((int)((110000 + half_interest0) * 1.595 / 100 / 365)) * 30;
accumulation += ((int)((120000 + half_interest0) * 1.595 / 100 / 365)) * 20;
half_interest1 = accumulation;
accumulation = 0.0;
accumulation += ((int)((120000 + half_interest0 + half_interest1) * 1.595 /
100 / 365)) * 11; //12/21 pay interest
std::cout << "Result0: " << half_interest0 + half_interest1 + accumulation <<std::endl;
accumulation = 0.0;
accumulation += ((int)((120000 + 858 + 10000) * 1.595 / 100 / 365)) * 31;
accumulation += ((int)((120000 + 858 + 20000) * 1.595 / 100 / 365)) * 28;
accumulation += ((int)((120000 + 858 + 30000) * 1.595 / 100 / 365)) * 31;
accumulation += ((int)((120000 + 858 + 40000) * 1.595 / 100 / 365)) * 30;
accumulation += ((int)((120000 + 858 + 50000) * 1.595 / 100 / 365)) * 31;
accumulation += ((int)((120000 + 858 + 60000) * 1.595 / 100 / 365)) * 20;
half_interest0 = accumulation;
accumulation = 0.0;
accumulation += ((int)((120000 + 858 + 60000 + half_interest0) * 1.595 / 100
/ 365)) * 10; //6/21 pay interest
accumulation += ((int)((120000 + 858 + 70000 + half_interest0) * 1.595 / 100
/ 365)) * 31;
accumulation += ((int)((120000 + 858 + 80000 + half_interest0) * 1.595 / 100
/ 365)) * 31;
accumulation += ((int)((120000 + 858 + 90000 + half_interest0) * 1.595 / 100
/ 365)) * 30;
accumulation += ((int)((120000 + 858 + 100000 + half_interest0) * 1.595 / 100/ 365)) * 31;
accumulation += ((int)((120000 + 858 + 110000 + half_interest0) * 1.595 / 100/ 365)) * 30;
accumulation += ((int)((120000 + 858 + 120000 + half_interest0) * 1.595 / 100/ 365)) * 20;
half_interest1 = accumulation;
accumulation = 0.0;
accumulation += ((int)((120000 + 858 + 120000 + half_interest0 +
half_interest1) * 1.595 / 100 / 365)) * 11; //12/21 pay interes
std::cout << "Result1: " << half_interest0 + half_interest1 + accumulation <<std::endl;
accumulation = 0.0;
accumulation += ((int)((240000 + 2801 + 10000) * 1.595 / 100 / 365)) * 31;
accumulation += ((int)((240000 + 2801 + 20000) * 1.595 / 100 / 365)) * 28;
accumulation += ((int)((240000 + 2801 + 30000) * 1.595 / 100 / 365)) * 31;
accumulation += ((int)((240000 + 2801 + 40000) * 1.595 / 100 / 365)) * 30;
accumulation += ((int)((240000 + 2801 + 50000) * 1.595 / 100 / 365)) * 31;
accumulation += ((int)((240000 + 2801 + 60000) * 1.595 / 100 / 365)) * 20;
half_interest0 = accumulation;
accumulation = 0.0;
accumulation += ((int)((240000 + 2801 + 60000 + half_interest0) * 1.595 / 100/ 365)) * 10; //6/21 pay interest
accumulation += ((int)((240000 + 2801 + 70000 + half_interest0) * 1.595 / 100/ 365)) * 31;
accumulation += ((int)((240000 + 2801 + 80000 + half_interest0) * 1.595 / 100/ 365)) * 31;
accumulation += ((int)((240000 + 2801 + 90000 + half_interest0) * 1.595 / 100/ 365)) * 30;
accumulation += ((int)((240000 + 2801 + 100000 + half_interest0) * 1.595 /
100 / 365)) * 31;
accumulation += ((int)((240000 + 2801 + 110000 + half_interest0) * 1.595 /
100 / 365)) * 30;
accumulation += ((int)((240000 + 2801 + 120000 + half_interest0) * 1.595 /
100 / 365)) * 20;
half_interest1 = accumulation;
accumulation = 0.0;
accumulation += ((int)((240000 + 2801 + 120000 + half_interest0 +
half_interest1) * 1.595 / 100 / 365)) * 11; //12/21 pay interest
std::cout << "Result2: " << half_interest0 + half_interest1 + accumulation <<std::endl << std::endl;
return 0;
}
//code end
--
超級優惠,給讚
央行14%屌打
搞不好是貪污 國外也有貪一元的案件 然後加總數字可觀
您說的叫 薩拉米 技術 Thomas Whiteside 在 1978 年出版的《Computer Capers》一書中報告了 40 多年前這種 技術的真實例子 銀行做就叫合法 你做就是違法
笑爛了
其他投資比這個划算 這個太保守
我也有去櫃檯問,他回答反正公家不會算錯你就領就對了
公式有修正請看這
https://www.ptt.cc/PublicServan/E.KrABC0mriKMw※ 編輯: fatalfeel2 (114.32.93.159 臺灣), 10/25/2023 16:15:28
C++好難啊
51
[情報] TWICE 正規3輯 RESULT FILE VER. 專輯預覽TWICE 3rd Full Album "Formula of Love: O+T=<3" RESULT FILE VER. Album Preview 配置12
[情報] 2022 Dutch GP FP1 Result2022 尼德蘭/荷蘭站自由練習1結果 2022 Dutch GP FP1 Result ------------------------------------------------------------------------------ Pos No Driver Team Best Lap Gap Laps 1 63 G.Russell Mercedes 1:12.455 297
Re: [請問] 樹狀資料 階層資料 整理方式...吧?我寫了一個簡單的python script,中間處理不算太有效率, 但相信對一個遊戲應該都夠快了 item_database = { '大爆發':['魔法齒輪','火箭炸彈','流星雨'], '火箭炸彈':['爆發之箭','同時射擊'],7
[問題] 英文克漏字解惑Teenages are often affected by mood swings _____ changing hormone levels. a. stemming from b. taking place c. bringing on d. resulting from4
Re: [問題] 台南 抗原快篩 入境美國最近在收集入境美國所需要的檢測證明文件 想說整理如下給有需要的人可以討論. 另外想問大家說有在台南哪裡做過抗原快篩嗎? 由於美國要求collection date採檢日需 於一日內 所以想請大家推薦一日內會出爐的抗原快篩檢測點4
[情報] 2022 Japanese GP Race Result2022 一級方程式本田日本大獎賽 正賽結果 2022 Japanese GP Race Result ------------------------------------------------------------------------------ Pos No Driver Team Laps TIME/RETIRED PTS 1 1 M.Verstappen Red Bull 28 3:01:44.004 25 WDC3
[情報] 2022 Italian GP Race Result2022 義大利站正賽結果 2022 Italian GP Race Result ------------------------------------------------------------------------------ Pos No Driver Team Laps TIME/RETIRED PTS 1 1 M.Verstappen Red Bull 53 1:20:27.511 251
[情報] 2022 Brazilian GP FP1 Result2022 一級方程式聖保羅大獎賽 自由練習1結果 2022 Sao Paulo GP FP1 Result ------------------------------------------------------------------------------ Pos No Driver Team Best Lap Gap Laps 1 11 S.Perez Red Bull 1:11.853 28- 你可能聽不到你想從某人那裡聽到想聽到的內容,因此你可能會試圖對他們所說內容的其 他解釋。 但是月之子,這真的符合你的最大利益嗎? 即使這不是你所希望的結果,但自欺欺人地相信自己願意相信的東西只能持續很長時間。 就這樣接受事實吧。
- 幹,教學生寫猜拳程式,結果有學生這樣寫: (Pseudo code) string user_input = GetUserInput() int result = rand() % 3 if result == 0