DDB Function [VBA]

Returns the depreciation of an asset for a specified period using the arithmetic-declining method.

warning

This constant, function or object is enabled with the statement Option VBASupport 1 placed before the executable program code in a module.


Syntax:


DDB(Cost As Double, Salvage As Double, Life as Double, Period as Double, [Factor as Variant])

Return value:

Double

Parameters:

Cost হলো একটি সম্পদের প্রারম্ভিক মূল্য।

Salvage মূল্যমান হ্রাসের শেষে সম্পদের মূল্য।

মেয়াদ হলো কার্যকালের সংখ্যা (যেমন, বছর অথবা মাস) যা একটি সম্পদ কত দিন ব্যবহৃত হবে তা নির্ধারণ করে থাকে।

কার্যকাল যে কার্যকালের জন্য মান গণনা করা হয় তা উল্লেখ করা হয়।

Factor (optional) is the factor by which depreciation decreases. If a value is not entered, the default is factor 2.

অবমূল্যায়নের এই ধরনটি ব্যবহার করুন যদি আপনার রৈখিক অবমূল্যায়নের বিপরীত হিসেবে রৈখিক অবমূল্যায়ন মান প্রয়োজন হয় । প্রতিটি পর্যায়কালের সাথে অবমূল্যায়ন মান কমতে থাকে এবং বিষয়সম্পত্তির জন্য সাধারণত ব্যবহার করা হয় যার মূল্য কেনার পরে উচ্চতর সল্প সময়ে কমে যায় (উদাহরনস্বরূপ, গাড়ি, কম্পিউটার)। অনুগ্রহ করে নোট করুন যে বই মূল্য এই গণনাটির ধরনের অধীনে কখনও শূন্যে পৌঁছবে না।

Error codes:

5 Invalid procedure call

Example:


Sub ExampleDDB
 Dim ddb_yr1 As Double
 ddb_yr1 = DDB(75000,1,60,12,2)
 Print ddb_yr1 ' returns 1,721.81 currency units.
End Sub