الانتقال إلى المحتوى

I Need Help


alsalami

Recommended Posts

Create a function by the name FigureInWords which will accept one number as input and return a string containing the corresponding number written in words :(



e.g.:



select FigureInWords(12345678) from dual;



should return



Twelve Million Three Hundred Forty Five Thousand Six Hundred Seventy Eight

رابط هذا التعليق
شارك

السلام عليكم ورحمة الله وبركاته

راجع يا اخى الرابط التالى
http://www.araboug.org/ib/index.php?showtopic=299

اذا اردت ان تظهر الكتابة بالانجليزية فعليك استبدال اسماء الارقام المكتوبة بالعربية باللغة الانجليزية

والله اعلم

رابط هذا التعليق
شارك

thanks :lol:
also please can you help me to write anouther fuction to
find number of working days between two days
such as

create or replace function workingday (d1 date, d2 date) return number
this function must subtract the weekend day (friday and Saturday)
for example
'select workingday('1-may-07',20-may-07’)
the result must be 14 :(

رابط هذا التعليق
شارك

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   تمت استعادة المحتوى السابق الخاص بك.   مسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

جاري التحميل
×
×
  • أضف...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية