David Martinez
未讀,2018年1月30日 晚上11:05:462018/1/30登入以回覆作者
登入以轉寄訊息
你的權限不足,無法在這個群組刪除訊息
登入以檢舉訊息
該群組的電子郵件地址為匿名,或你需要檢視成員電子郵件地址的權限才能查看原始貼文
收件者:mementodatabase
I made a Bd for a currency exchange daily operations for example I'm buy euro at rate 1.05 usd the second day im buying other euros at 1.054 the third day buy 1.053 if
100€ x 1.05
88€ x 1.054
150€ x 1.053
I need make this calc(100+88+150)/(1.05+1.054+1.053)
Memento have a function to average but only make a bad averege for prices without amounts this is a problem is a fake average
Excuses for my English I'm leave the same comment in Spanish too.
Hola estoy haciendo una base de datos para una empresa de cambio de divisas por lo que necesito saber los promedios de compra suponiendo que un día compre con una tasa a 1.05 el día siguient 1.054 y el siguiente a 1.053 los siguientes montós
100€ x 1.05
88€ x 1.054
150€ x 1.053
Necesitaría hacer la siguiente operación
(100+88+150)/(1.05+1.054+1.053)
Pero memento me. Saca un promedio pero de los valores s sin tener is n cuenta las cantidades alguna ayuda?