| Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате |
| Форум программистов > Delphi: Общие вопросы > extended problem |
| Автор: huismori 29.3.2010, 16:33 | ||
i am trying to show image for rates but it doesnt always show the correct image... i dont know what i am doing wrong !!!
|
| Автор: Keeper89 29.3.2010, 19:33 | ||
|
| Автор: huismori 30.3.2010, 08:53 | ||
thanks keeper but i got this error;
identifier expected but '-' found |
| Автор: bems 30.3.2010, 15:55 |
| Keeper89, квадратные скобки же |
| Автор: Keeper89 31.3.2010, 23:54 | ||
Мой косяк, лучше даже так:
|
| Автор: muratboy31 2.4.2010, 14:50 |
| really good trick keeper |
| Автор: huismori 2.4.2010, 15:15 | ||||
when i use it like that i get an error
|
| Автор: Keeper89 2.4.2010, 15:29 | ||
|
| Автор: huismori 2.4.2010, 15:34 |
| i love u keeper thanks alot another question how would i calculate percantage... from alisex to euro... for example ; -%0,10 when it less or +%0,5 when it is more |
| Автор: Keeper89 2.4.2010, 15:47 | ||
|
| Автор: huismori 2.4.2010, 15:59 |
| it always show -0.00 or +0.00 like that ... no % and correct percentage... |
| Автор: Keeper89 2.4.2010, 16:05 | ||||
Then your values are to small, try to use
instead of
|
| Автор: huismori 2.4.2010, 16:08 |
| now it is -0 or +0 still not correct value... |
| Автор: Keeper89 2.4.2010, 16:50 | ||
Try
instead of |
| Автор: huismori 5.4.2010, 10:28 |
thanks keeper that worked i think but is there anyway to make it shorter because it show sooo many numbers![]() it would b enough if it show last 3 digits or 4... example : - 0,011 or 0,0112 |
| Автор: Keeper89 5.4.2010, 11:30 |
| You should define how many symbols your result has (or just use '%.3f' or '%.4f'), otherwise you'll get 0 as it was See Format function syntax http://www.delphibasics.co.uk/RTL.asp?Name=Format. |
| Автор: huismori 5.4.2010, 11:44 |
| thanks keeper |
| Автор: huismori 12.4.2010, 14:24 |
| solved it... i think i am going blind |